链接：https://www.nowcoder.com/questionTerminal/15621beb11114eddb3623e60ce1a58bd
来源：牛客网

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <style>
      .box {
        display: flex;
        flex-flow: column nowrap;
      }
      header,
      footer {
        display: flex;
        justify-content: space-between;
        background-color: #ccc;
        padding: 10px;
      }
      .middle {
        display: flex;
        padding: 10px 0;
      }
      .logo {
        width: 100px;
        height: 100px;
        background-color: red;
      }
      .username {
        width: 100px;
        height: 40px;
        background-color: red;
        align-self: flex-end;
      }
      .content {
        flex-grow: 1;
        background-color: yellow;
      }
      .aside {
        width: 100px;
        height: 200px;
        background-color: #ccc;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <header>
        <div class="logo"></div>
        <div class="username"></div>
      </header>
      <div class="middle">
        <div class="content"></div>
        <div class="aside"></div>
      </div>
      <footer></footer>
    </div>
  </body>
</html>
